]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
lint: Require dangling comma in multi-line imports
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 17 Jun 2025 13:57:02 +0000 (15:57 +0200)
committerMarge Bot <marge-bot@gnome.org>
Wed, 18 Jun 2025 21:54:09 +0000 (21:54 +0000)
This keeps the config in line with gjs, which added the option
in gjs@f7d3b5d4c8.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3755>

js/ui/extensionSystem.js
lint/eslintrc-gjs.yml
subprojects/extensions-app/js/extensionManager.js

index 4f253f04eba9e59e6e071c18e0861aa1cc00b06f..06f7d967fc58ab14db61e0b1bb041d077fe9197d 100644 (file)
@@ -9,7 +9,7 @@ import * as Config from '../misc/config.js';
 import * as ExtensionDownloader from './extensionDownloader.js';
 import {formatError} from '../misc/errorUtils.js';
 import {
-    ExtensionState, ExtensionType, loadExtensionMetadata
+    ExtensionState, ExtensionType, loadExtensionMetadata,
 } from '../misc/extensionUtils.js';
 import * as FileUtils from '../misc/fileUtils.js';
 import * as Main from './main.js';
index e1f451991a39be1ed77399f0a7552b3013ed4449..3c8fb7acf92440db82c4c92c02b84e75a9a5ba43 100644 (file)
@@ -30,6 +30,7 @@ rules:
     - error
     - arrays: always-multiline
       objects: always-multiline
+      imports: always-multiline
       functions: never
   comma-spacing:
     - error
index 3c04163174be44f7beb940f25bf44a974e3d525f..adb3b0e00abd3fe468daa01cdcd4fcf3e82cc116 100644 (file)
@@ -3,7 +3,7 @@ import GLib from 'gi://GLib';
 import GObject from 'gi://GObject';
 
 import {
-    ExtensionState, ExtensionType, deserializeExtension
+    ExtensionState, ExtensionType, deserializeExtension,
 }  from './misc/extensionUtils.js';
 
 const GnomeShellIface = loadInterfaceXML('org.gnome.Shell.Extensions');